<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            list-style: none;            
        }
        .box{
            overflow: hidden;
            width: 500px;
            height: 350px;
            margin: 0 auto;
            position: relative;
            /* border: 1px solid #000; */
        }
        span{
            position: absolute;
            width: 40px;
            height: 80px;
            line-height: 80px;
            text-align: center;
            font-size: 40px;
            background-image: linear-gradient(rgba(0, 0, 0, 0.3),rgba(0, 0, 0, 0.3));
            color: aqua;
            top: calc(50% - 40px);
            opacity: 0;
            transition: opacity .3s linear;
        }
        .prev{
            left: 0;
        }
        .next{
            right: 0;
        }
        .box:hover span{
            opacity: 1;
        }
        .prev:hover{
            background-image: linear-gradient(90deg,rgba(255, 255, 255, 0.741),rgba(255, 255, 255, 0.027));
        }
        .next:hover{
            background-image: linear-gradient(-90deg,rgba(255, 255, 255, 0.741),rgba(255, 255, 255, 0.027));
        }

        ul{
            display: flex;
            position: relative;
            left: 0;
            transition: left .3s linear;
        }
        ul > li{
            width: 500px;
            height: 350px;
        }
        ul > li img{
            display: block;
            width: 100%;
            height: 100%;
        }
        ol{
            position: absolute;
            display: flex;
            bottom: 20px;
            width: 100%;
            justify-content: center;
        }
        ol > li{
            width: 10px;
            height: 10px;
            border-radius: 10px;
            margin: 0 8px;
            background-color: white;
        }
        ol > li.action{
            background-color: rgb(0, 0, 0);
        }
    </style>
</head>
<body>
    
</body>
</html>